# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-bottle-hotqueue
_pkgname=bottle-hotqueue
pkgver=0.2.5
pkgrel=3
pkgdesc="Bottle HotQueue plugin"
options="!check" # No testsuite
url="https://github.com/waawal/bottle_hotqueue"
arch="noarch !armv7"
license="MIT"
depends="py3-bottle py3-hotqueue"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-bottle-hotqueue" # Backwards compatibility
provides="py-bottle-hotqueue=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0ee8a1254d3997b7066443100a27de5ca22b31f4c24bd2bc92bb41fa296516a9096d170e1d48b30dea192fe424b3d9b487b851c6a4c272c0c4a55681a1afc2dc  bottle-hotqueue-0.2.5.tar.gz"
